package yuhao.log;

import com.sun.jdi.PathSearchingVirtualMachine;
import org.apache.log4j.Logger;
import org.slf4j.LoggerFactory;

public class LogDemo1 {

    private  static  final Logger LOGGER= (Logger) LoggerFactory.getLogger(LogDemo1.class);

    public static void main(String[] args) {
        LOGGER.debug("这是一条debug级别的日志");
        LOGGER.info("这是一条info级别的日志");
        LOGGER.warn("这是一条warn级别的日志");
        LOGGER.error("这是一条error级别的日志");

    }
}
